package com.achievement.project.system.student.domain;

import java.util.List;
import com.achievement.framework.aspectj.lang.annotation.Excel;
import com.achievement.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 学生信息对象 sys_student
 *
 * @author zkai
 * @date 2021-04-24
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String no;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 年级 */
    @Excel(name = "年级",dictType = "sys_grade")
    private Long gradeId;

    /** 专业 */
    @Excel(name = "专业",dictType = "sys_professional")
    private Long professionalId;

    /** 班级 */
    @Excel(name = "班级",dictType = "sys_class")
    private Long classId;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 校验学号是否编辑过 默认为0 未编辑  1已编辑 */
    private Long noCheck;

    /** 电话 */
    @Excel(name = "学期")
    private String semester;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setGradeId(Long gradeId)
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId()
    {
        return gradeId;
    }
    public void setProfessionalId(Long professionalId)
    {
        this.professionalId = professionalId;
    }

    public Long getProfessionalId()
    {
        return professionalId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setNoCheck(Long noCheck)
    {
        this.noCheck = noCheck;
    }

    public Long getNoCheck()
    {
        return noCheck;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("password", getPassword())
            .append("gradeId", getGradeId())
            .append("professionalId", getProfessionalId())
            .append("classId", getClassId())
            .append("tel", getTel())
            .append("noCheck", getNoCheck())
            .toString();
    }
}
